package com.niit.session24;

public class Dept {
	private int deptId;
	private String name;
	private String email;
	public Dept(int deptId, String name, String email) {
		super();
		this.deptId = deptId;
		this.name = name;
		this.email = email;
	}
	public Dept() {
		super();
	}
	public int getDeptId() {
		return deptId;
	}
	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "Dept [deptId=" + deptId + ", name=" + name + ", email=" + email + "]";
	}
	

}
